using MediatR;
using ProduceBasicData.Api.DTO.ProductionManage;
using ProduceBasicData.Domain.Inventories;
using ProduceBasicData.Domain.ProductionManage;
using ProduceBasicData.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace ProduceBasicData.Api.Application.Command.ProductionManage.Technology
{
    /// <summary>
    /// 获取工单生产任务状态查询命令
    /// </summary>
    public class GetWorkOrderProcessStatusCommand : IRequest<ApiResult<Responsedto>>
    {
        /// <summary>
        /// 工单ID
        /// </summary>
        [Required(ErrorMessage = "工单ID不能为空")]
        public int OrderId { get; set; }

        /// <summary>
        /// 工艺路线ID（可选，如果不提供则获取该工单的所有生产任务）
        /// </summary>
        public int? ProcessId { get; set; }
    }

   
}
